/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

/* 模态框样式 */
.modal {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 600px;
    max-width: 90%;
}

/* 模态框头部样式 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    color: #0099cc;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* 模态框主体样式 */
.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* 头像预览样式 */
.avatar-preview {
    margin-bottom: 5px;
    width: 150px;
    height: auto;
}

.avatar-preview img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 模态框底部样式 */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.close-button,
.save-button {
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.close-button {
    background-color: #f4f4f4;
    color: #333;
    margin-right: 10px;
}

.save-button {
    background-color: #0099cc;
    color: white;
}